package study.cdc.canal.blogic;

import com.alibaba.otter.canal.protocol.CanalEntry;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import study.cdc.canal.support.blogic.BaseBLogic;
import study.cdc.canal.support.blogic.Table;

import java.util.List;

@Slf4j
@Component
@Table("user_admin")
public class UserAdminBLogic extends BaseBLogic {

    @Override
    public void onInsert(List<CanalEntry.Column> afterColumnsLt) {
        log.info("onInsertonInsert");

    }

    @Override
    public void onDelete(List<CanalEntry.Column> beforeColumnsLt) {
        log.info("onDeleteonDelete");
    }

    @Override
    public void onUpdate(List<CanalEntry.Column> beforeColumnsLt, List<CanalEntry.Column> afterColumnsLt) {
        log.info("onUpdateonUpdate");
    }
}
